package com.imti.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.imti.entity.Card;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * (Card)表数据库访问层
 *
 * @author makejava
 * @since 2023-02-07 19:10:33
 */
@Mapper
public interface CardDao extends BaseMapper<Card> {

    @Insert("insert into card(card_num,card_code) values (#{cardNum},#{cardCode})")
    public int addCard(String cardNum,String cardCode);

}

